<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <!--文本框-->
<!--    <input type="text" v-model="vm"> {{vm}}-->

    <!--单选框-->
<!--    请输入性别：-->
<!--    <input type="radio" name="sex" value="男" v-model="vm">男-->
<!--    <input type="radio" name="sex" value="女" v-model="vm">女-->
<!--    您输入的{{vm}}-->

    <!--多行文本框-->
<!--    <textarea v-model="vm"></textarea>-->
<!--    <p>您输入了{{vm}}</p>-->

    <!--下拉框-->
    <select v-model="vm">
        <option selected disabled>--请选择--</option>
        <option>A</option>
        <option>B</option>
        <option>C</option>
        <option>D</option>
    </select>
    <p>您选择了了{{vm}}</p>
</div>

<script>
    const vm = new Vue({
        el: "#app",
        data: {
            vm: ""
        }
    });
</script>
</body>
</html>
